package principal.ButtonsActions;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;
import javax.swing.JOptionPane;

import principal.Main;

/**
 * Clase que implementa las acciones de los botones
 * @author jsamperc
 *
 */
public class MainButtonsActions implements ActionListener {
	@Override
	public void actionPerformed(ActionEvent e) {
		JButton source = (JButton) e.getSource();
		Main.pushButton = source.getText();
		//JOptionPane.showMessageDialog(source, source.getText() + " button has been pressed");
	}

}
